function login(tbl){
	let user_login=tbl.username;
    let appkey = isEmpty(tbl.appkey)?'0':tbl.appkey;
	let user_pass="###"+Lang.md5(Lang.md5("gtw2JMG5BqSQrlCLVK"+tbl.password))
	if(appkey!=""||appkey!="0"){
		let u=dao.count("cmf_user",Cnd.where("user_login","=",user_login)
				.and("user_pass","=",user_pass).and("user_type","=",3))
				if(u!=null){
					let res={"id":u.id,"user_login":u.user_login,"create_time":Times.format(Times.ts2D(u.create_time))}
					attr("return",{"error":200,"message":"success","data":
					{"name":u.user_login,"id":u.id,"member":res}})
				}else{
					attr("return",{"error":202,"message":"请求方式正确，数据获取失败"})
				}
	}else{
		attr("return",{"error":202,"message":"appkey错误"})
	}
	return "json"
}